Update Product Bio
Method: PATCH
/api/v1/products/{productId}/tenants/{tenantId}/bio
Descriptionβ
Update the bio details of an existing product within a tenantβs account.
π Authenticationβ
This endpoint requires authentication via a Bearer Token.
| Param | Value | Type |
|---|---|---|
| token | {{tenantUserAccessToken}} | string |
Path Parametersβ
These parameters must be included in the URL path.
| Name | Type | Description |
|---|---|---|
productId | string | The ID of the product to update |
tenantId | string | The ID of the tenant associated with the product |
Request Bodyβ
| Name | Type | Description |
|---|---|---|
title | string | Updated title of the product bio |
description | string | Updated product bio description |
photo | string | Updated product bio image URL |
Example Requestβ
PATCH /api/v1/products/{{productId}}/tenants/{{tenantId}}/bio
Authorization: Bearer {{tenantUserAccessToken}}
Content-Type: application/json
{
"title": "New Product Bio Title",
"description": "An updated description for the product",
"photo": "https://example.com/updated-bio-image.png"
}
Response Code: 200 - OKβ
{
"productId": "67a81ecca9a55da218c22c35",
"tenantId": "67a81e0478c623946a5e4a49",
"title": "New Product Bio Title",
"description": "An updated description for the product",
"photo": "https://example.com/updated-bio-image.png",
"updatedAt": "2025-02-09T03:50:42.195Z"
}
LANGUAGE
CURL REQUEST
curl --request PATCH \
--url /api/v1/products/{productId}/tenants/{tenantId}/bio \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!